package com.woniuxy.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class CarDto {
    @ExcelIgnore
    @ExcelProperty(value="主键")
    private Integer id;
    @ExcelProperty(value="车辆类型",index=0)
    private Integer carTypeId;  //车辆类型
    @ExcelProperty(value="车辆类型名")
    private String typeName;    //车辆类型名
    @ExcelProperty(value="车牌号",index=1)
    private String carNumber;   //车牌号
    @ExcelProperty(value="车架号",index=2)
    private String frameNumber; //车架号
    @ExcelProperty(value="电机号",index=3)
    private String motorNumber; //电机号
    @ExcelProperty(value="上牌日期",index=4)
    private LocalDate dateRegistration; //上牌日期
    @ExcelProperty(value="车辆状态",index=5)
    private Integer state;  //车辆状态 1：闲置、0：租赁
    @ExcelProperty(value="用途",index=6)
    private String carUse;  //用途
    @ExcelProperty(value="备注",index=7)
    private String remarks;
}
